package com.pos.clothes.mapper;

import com.pos.clothes.pojo.Category;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryMapper {
    public List<Category> getCategory();
    public int insertCategory(Category category);
    public List<Category> searchCategory(String category_name);
    public int deleteCategory(int id);
    public void updateCategory(Category category);
}
